package com.day9.test3_digui;

/**
 * @author 小坡
 * @date 2022/9/12  17:30
 **/
public class MyFactorial {
    //    1-100之间的和
    public static void main(String[] args) {
        int sum = 0;
        for (int i = 1; i <= 100; i++) {
            sum = sum + i;
        }
        System.out.println(sum);
    }
}
